<?php

namespace app\index\model;

use think\Model;

class Project extends BaseModel
{
    public static function getProjects($size = 20)
    {
        return self::where('onlineswitch', '>', 0)->order('weigh desc')->paginate($size);
    }
}
